﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace INSTA.MusiqueStore.UI.Web1
{
    public partial class Dl : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var url = Server.MapPath("~/mp3/") +DAL.CustomMusiqueStoreEntities.GetPiste(int.Parse(Request.Params["i"])).LienFichier;
            Library.Tips.Download(HttpContext.Current, url);
        }
    }
}